﻿<root>
  <Configs>
    <ViewCaption Name="Объекты базы данных" />
    <ProcIU Name="dbo.Dummy" />
    <XmlIU Name="dbo.getXMLDummy" />
    <ProcD Name="dbo.DummyD" />
    <FirstRun State="Fill" />
    <Fields>
      <IsActive />
      <Test />
      <How />
    </Fields>
  </Configs>
  <EditModule>
    <Configs>
      <Text>Dummy Form Caption</Text>
      <Height>100</Height>
      <Width>400</Width>
      <StartPosition>CenterScreen</StartPosition>
      <WindowState>Maximized</WindowState>
    </Configs>
    <Controls>
      <Splitter>
        <Properties>
          <Dock>Fill</Dock>
          <Required>true</Required>
        </Properties>
        <Controls>
          <SplitterPanel>
            <Properties />
            <Controls>
              <RangeTrackBar>
                <Properties>
                  <XMLAttribute>Configuration7</XMLAttribute>
                  <AttributeType>Xml</AttributeType>
                  <Dock>Top</Dock>
                  <Min>20</Min>
                  <Max>200</Max>
                  <Step>10</Step>
                </Properties>
              </RangeTrackBar>
              <CheckBox>
                <Properties>
                  <Text>Активный</Text>
                  <Dock>Top</Dock>
                  <XMLAttribute>IsActive</XMLAttribute>
                  <AttributeType>Bit</AttributeType>
                </Properties>
              </CheckBox>
              <GroupBox>
                <Properties>
                  <Dock>Top</Dock>
                  <Text>Англ. Название</Text>
                  <Required>false</Required>
                </Properties>
                <Controls>
                  <TextBox>
                    <Properties>
                      <Dock>Top</Dock>
                      <XMLAttribute>NameEng</XMLAttribute>
                      <AttributeType>NVarChar</AttributeType>
                    </Properties>
                  </TextBox>
                </Controls>
              </GroupBox>
              <GroupBox>
                <Properties>
                  <Dock>Top</Dock>
                  <Text>Название Ориг.</Text>
                </Properties>
                <Controls>
                  <TextBox>
                    <Properties>
                      <XMLAttribute>Password</XMLAttribute>
                      <PasswordChar>#</PasswordChar>
                      <MaxLength>5</MaxLength>
                      <Dock>Top</Dock>
                      <AttributeType>NVarChar</AttributeType>
                    </Properties>
                  </TextBox>
                  <MaskText>
                    <Properties>
                      <XMLAttribute>Phone</XMLAttribute>
                      <Dock>Top</Dock>
                      <Mask>((\+\d)?\(\d{3}\))?\d{3}-\d\d-\d\d</Mask>
                      <AttributeType>NVarChar</AttributeType>
                    </Properties>
                  </MaskText>
                </Controls>
              </GroupBox>
              <GroupBox>
                <Properties>
                  <Dock>Top</Dock>
                  <Text>Шифр</Text>
                </Properties>
                <Controls>
                  <TextBox>
                    <Properties>
                      <Dock>Top</Dock>
                      <XMLAttribute>Cipher</XMLAttribute>
                      <AttributeType>NVarChar</AttributeType>
                    </Properties>
                  </TextBox>
                </Controls>
              </GroupBox>
              <GroupBox>
                <Properties>
                  <Text>Язык</Text>
                  <Dock>Top</Dock>
                </Properties>
                <Controls>
                  <ComboBox>
                    <Properties>
                      <Dock>Top</Dock>
                      <Enabled>true</Enabled>
                      <XMLAttribute>LanguageId</XMLAttribute>
                      <AttributeType>TinyInt</AttributeType>
                      <Datasource>
                        <NameOrig>InfoView.ApplicationLocalizations</NameOrig>
                        <Fields>
                          <Key>Id</Key>
                          <Display Sort="asc">DateInsert</Display>
                          <Display Sort="desc">NameEng</Display>
                          <Display Sort="desc">Cipher</Display>
                          <Display Sort="desc">NameOrig</Display>
                        </Fields>
                        <IsEditable>true</IsEditable>
                      </Datasource>
                    </Properties>
                  </ComboBox>
                </Controls>
              </GroupBox>
              <GroupBox>
                <Properties>
                  <Text>Фильтруем дерево</Text>
                  <Dock>Top</Dock>
                </Properties>
                <Controls>
                  <ComboBox>
                    <Properties>
                      <Name>MainComboBox</Name>
                      <Dock>Top</Dock>
                      <Enabled>true</Enabled>
                      <XMLAttribute>ComboTest123</XMLAttribute>
                      <AttributeType>UniqueIdentifier</AttributeType>
                      <Datasource>
                        <NameOrig>AdminView.TestTreeView</NameOrig>
                        <Fields>
                          <Key>Id</Key>
                          <Display Sort="desc">NameOrig</Display>
                        </Fields>
                        <IsEditable>true</IsEditable>
                      </Datasource>
                    </Properties>
                  </ComboBox>
                </Controls>
              </GroupBox>
            </Controls>
          </SplitterPanel>
          <SplitterPanel>
            <Controls>
              <TabControl>
                <Properties>
                  <Name>ControlName</Name>
                  <Dock>Fill</Dock>
                </Properties>
                <Controls>
                  <Tab>
                    <Properties>
                      <Text>Лого</Text>
                      <Dock>Fill</Dock>
                    </Properties>
                    <Controls>
                      <ImageBox>
                        <Properties>
                          <Dock>Fill</Dock>
                          <XMLAttribute>Logo</XMLAttribute>
                          <AttributeType>VarBinary</AttributeType>
                        </Properties>
                      </ImageBox>
                    </Controls>
                  </Tab>
                  <Tab>
                    <Properties>
                      <Text>Конфигурация</Text>
                      <Dock>Fill</Dock>
                    </Properties>
                    <Controls>
                      <RichText>
                        <Properties>
                          <XMLAttribute>Configuration</XMLAttribute>
                          <AttributeType>Text</AttributeType>
                          <Dock>Fill</Dock>
                        </Properties>
                      </RichText>
                    </Controls>
                  </Tab>
                  <Tab>
                    <Properties>
                      <Text>Сортированное дерево</Text>
                      <Dock>Fill</Dock>
                    </Properties>
                    <Controls>
                      <TreeView>
                        <Properties>
                          <Name>FilteredTreeView</Name>
                          <XMLAttribute>Configuration2</XMLAttribute>
                          <AttributeType>UniqueIdentifier</AttributeType>
                          <Dock>Fill</Dock>
                          <Datasource>
                            <UseOnlyActive>true</UseOnlyActive>
                            <NameOrig>AdminView.TestTreeView</NameOrig>
                            <Fields>
                              <Key>Id</Key>
                              <ParentKey>ParentId</ParentKey>
                              <Display Sort="desc">NameOrig</Display>
                            </Fields>
                          </Datasource>
                        </Properties>
                      </TreeView>
                    </Controls>
                  </Tab>
                  <Tab>
                    <Properties>
                      <Text>RadioGroup</Text>
                      <Dock>Fill</Dock>
                    </Properties>
                    <Controls>
                      <RadioGroup>
                        <Properties>
                          <XMLAttribute>Configuration3</XMLAttribute>
                          <AttributeType>UniqueIdentifier</AttributeType>
                          <Dock>Fill</Dock>
                          <Datasource>
                            <NameOrig>AdminView.TestTreeView</NameOrig>
                            <UseOnlyActive>true</UseOnlyActive>
                            <UseGroupBy>true</UseGroupBy>
                            <Fields>
                              <Key>Id</Key>
                              <Display Sort="asc">NameOrig</Display>
                            </Fields>
                          </Datasource>
                        </Properties>
                      </RadioGroup>
                    </Controls>
                  </Tab>
                  <Tab>
                    <Properties>
                      <Text>ListBox</Text>
                      <Dock>Fill</Dock>
                    </Properties>
                    <Controls>
                      <ListBox>
                        <Properties>
                          <Name>ParentTestDepend</Name>
                          <XMLAttribute>Configuration4</XMLAttribute>
                          <AttributeType>UniqueIdentifier</AttributeType>
                          <Dock>Fill</Dock>
                          <Datasource>
                            <NameOrig>AdminView.TestTreeView</NameOrig>
                            <UseOnlyActive>true</UseOnlyActive>
                            <UseGroupBy>true</UseGroupBy>
                            <Fields>
                              <Key>Id</Key>
                              <Display Sort="desc">NameOrig</Display>
                            </Fields>
                          </Datasource>
                        </Properties>
                      </ListBox>
                    </Controls>
                  </Tab>
                  <Tab>
                    <Properties>
                      <Text>CheckedList</Text>
                      <Dock>Fill</Dock>
                    </Properties>
                    <Controls>
                      <CheckedList>
                        <Properties>
                          <XMLAttribute>Configuration5</XMLAttribute>
                          <AttributeType>Xml</AttributeType>
                          <Dock>Fill</Dock>
                          <Datasource>
                            <NameOrig>AdminView.TestTreeView</NameOrig>
                            <UseOnlyActive>false</UseOnlyActive>
                            <UseGroupBy>true</UseGroupBy>
                            <Fields>
                              <Key>Id</Key>
                              <Display Sort="desc">NameOrig</Display>
                            </Fields>
                          </Datasource>
                        </Properties>
                      </CheckedList>
                    </Controls>
                  </Tab>
                  <Tab>
                    <Properties>
                      <Text>CheckedComboBox</Text>
                      <Dock>Fill</Dock>
                    </Properties>
                    <Controls>
                      <CheckedComboBox>
                        <Properties>
                          <Name>TestDepend</Name>
                          <XMLAttribute>Configuration6</XMLAttribute>
                          <AttributeType>Xml</AttributeType>
                          <Dock>Top</Dock>
                          <Datasource>
                            <NameOrig>AdminView.TestTreeView</NameOrig>
                            <UseOnlyActive>false</UseOnlyActive>
                            <UseGroupBy>true</UseGroupBy>
                            <Fields>
                              <Key>Id</Key>
                              <Display Sort="desc">NameOrig</Display>
                            </Fields>
                          </Datasource>
                        </Properties>
                      </CheckedComboBox>
                    </Controls>
                  </Tab>
                </Controls>
              </TabControl>
            </Controls>
          </SplitterPanel>
        </Controls>
      </Splitter>
    </Controls>
    <Dependencies>
      <Dependence ChangedControl="MainComboBox" DependedControl="FilteredTreeView" DependedField="ParentId" />
    </Dependencies>
  </EditModule>
</root>